<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="__PUBLIC__/Css/bootstrap.css">
<link rel="stylesheet" href="__PUBLIC__/Css/Home/layout.css">
	<title></title>
</head>
<body class='container' >
	<div class="navbar navbar-default" role="navigation" id='daohang'>
        <div class="navbar-header">
			<a class="navbar-brand" href="#"><strong>启明星签到</strong></a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li><a href="__APP__/Qiandao/index">签到</a></li>
            <li><a href="__APP__/Qiandao/showinfo">本周详细签到情况</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
			  <li class="active"><a><?php echo (session('name')); ?></a></li>
            <li><a href="http://bbs.xlanlab.com">返回论坛</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>

	 <div>
		 <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="__PUBLIC__/Css/Home/qiandao.css">
	<link rel="stylesheet" href="__PUBLIC__/Css/bootstrap.css">
	<title>签到</title>
</head>
<body class='container'>
	<br/>
	<form action="__URL__/doQd">
		<button id='qd_button' type="submit" class='btn btn-lg btn-danger'>签到</button>
	</form>
		<br/>
	<hr/>
	<div id='todayTable'>

	<h3><strong>今日签到情况</strong></h3><br/>
	<?php if($vo == ""): ?>你还没有签到
	<?php else: ?>
	<table  class='table table-bordered table-striped'>
		<tr>
			<td>姓名</td>
			<td >上午</td>
			<td >下午</td>
			<td >晚上</td>
		</tr>
		<tbody>
			<tr>
				<td><?php echo ($vo["name"]); ?></td>
					<?php if($vo[$xq] == "1"): ?><td id='sign'></td>
						<td></td>
						<td></td>
					<?php elseif($vo[$xq] == 2): ?>
						<td ></td>
						<td id='sign'></td>
						<td></td>
					<?php elseif($vo[$xq] == 4): ?>
						<td ></td>
						<td></td>
						<td id='sign'></td>
					<?php elseif($vo[$xq] == 3): ?>
						<td id='sign'></td>
						<td id='sign'></td>
						<td></td>
					<?php elseif($vo[$xq] == 5): ?>
						<td id='sign'></td>
						<td></td>
						<td id='sign'></td>
					<?php elseif($vo[$xq] == 6): ?>
						<td ></td>
						<td id='sign'></td>
						<td id='sign'></td>
					<?php elseif($vo[$xq] == 7): ?>
						<td id='sign'></td>
						<td id='sign'></td>
						<td id='sign'></td>
					<?php else: ?>
						<td ></td>
						<td ></td>
						<td ></td><?php endif; ?>
			</tr>
		</volist>
		</tbody>
	</table><?php endif; ?>
	</div>
	
	<div id='showqdtime'>
		<center>
			<h3><strong>签到时间</strong></h3><br/>
			上午：<code>&nbsp;<?php echo ($qtlist['1sh']); ?>:<?php echo ($qtlist["1sm"]); ?></code>—<code><?php echo ($qtlist["1eh"]); ?>:<?php echo ($qtlist["1em"]); ?></code><br/>
			下午：<code><?php echo ($qtlist['2sh']); ?>:<?php echo ($qtlist["2sm"]); ?></code>—<code><?php echo ($qtlist["2eh"]); ?>:<?php echo ($qtlist["2em"]); ?></code><br/>
			晚上：<code><?php echo ($qtlist['3sh']); ?>:<?php echo ($qtlist["3sm"]); ?></code>—<code><?php echo ($qtlist["3eh"]); ?>:<?php echo ($qtlist["3em"]); ?></code><br/>
		</center>
	</div>


</body>
</html>

	 </div>
</body>
</html>